﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ASCalpuff.FileLayers
{

    public class Barrier : ICloneable
    {
        int m_id = 0;//记数器

        /// <summary>
        /// 记数器
        /// </summary>
        public int Id
        {
            get { return m_id; }
            set { m_id = value; }
        }

        private string m_Sid = "B"; //唯一标识
        /// <summary>
        /// 唯一标识
        /// </summary>
        public string Sid
        {
            get { return m_Sid; }
            set { m_Sid = value; }
        }
        private string m_Name = ""; //名称
        /// <summary>
        /// 名称
        /// </summary>
        public string Name
        {
            get { return m_Name; }
            set { m_Name = value; }
        }

        double m_XBBAR = 0; //每个障碍起点的X坐标值KM，必须输入NBAR
        /// <summary>
        /// 每个障碍起点的X坐标值KM，必须输入NBAR
        /// </summary>
        public double XBBAR
        {
            get { return m_XBBAR; }
            set { m_XBBAR = value; }
        }
        double m_YBBAR = 0; //每个障碍起点的Y坐标值
        /// <summary>
        /// 每个障碍起点的Y坐标值
        /// </summary>
        public double YBBAR
        {
            get { return m_YBBAR; }
            set { m_YBBAR = value; }
        }
        double m_XEBAR = 0;

        public double XEBAR
        {
            get { return m_XEBAR; }
            set { m_XEBAR = value; }
        }
        double m_YEBAR = 0;

        public double YEBAR
        {
            get { return m_YEBAR; }
            set { m_YEBAR = value; }
        }
        public object Clone()
        {
            return this.MemberwiseClone();
        }
    }


}
